﻿Public Class Facturar 

    Private Sub FacturasBindingNavigatorSaveItem_Click(sender As System.Object, e As System.EventArgs) Handles FacturasBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.FacturasBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.DbFireAndIceDataSet)

    End Sub

    Private Sub Facturar_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'DbFireAndIceDataSet.facturasdetalle' table. You can move, or remove it, as needed.
        Me.FacturasdetalleTableAdapter.Fill(Me.DbFireAndIceDataSet.facturasdetalle)
        'TODO: This line of code loads data into the 'DbFireAndIceDataSet.facturasdescuento' table. You can move, or remove it, as needed.
        Me.FacturasdescuentoTableAdapter.Fill(Me.DbFireAndIceDataSet.facturasdescuento)
        'TODO: This line of code loads data into the 'DbFireAndIceDataSet.facturas' table. You can move, or remove it, as needed.
        Me.FacturasTableAdapter.Fill(Me.DbFireAndIceDataSet.facturas)

    End Sub
End Class